package cn.tedu.csmall.product.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class CategoryAddNewDTO {
    @ApiModelProperty(value = "分类名称", required = true)
    private String name;
    @ApiModelProperty(value = "父级类别id", required = true)
    private Long parentId;
    @ApiModelProperty(value = "关键字列表", required = true)
    private String keywords;
    @ApiModelProperty(value = "自定义排序序号", required = true)
    private Integer sort;
    @ApiModelProperty(value = "图标图片的url", required = true)
    private String icon;
    @ApiModelProperty(value = "是否启用, 1=启用, 0=未启用", required = true)
    private Integer enable;
    @ApiModelProperty(value = "是否显示在导航栏, 1=是, 2=否", required = true)
    private Integer isDisplay;
}
